<%@ page language="java"
	import="java.util.*,entitybean.oc_friendly_link.EntityBeanOc_Friend_Link,entitybean.oc_company_info.EntityBeanOc_Company_Info,entitybean.oc_study.EntityBeanOc_Study;"
	pageEncoding="utf-8"%>


<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
    @SuppressWarnings("unchecked")
	List<EntityBeanOc_Friend_Link> list_friend_link = (List<EntityBeanOc_Friend_Link>) request
			.getAttribute("list_friend_link");
	@SuppressWarnings("unchecked")
	List<EntityBeanOc_Study> list_evaluate = (List<EntityBeanOc_Study>) request
			.getAttribute("list_evaluate");
	@SuppressWarnings("unchecked")
	List<EntityBeanOc_Company_Info> list_company_info = (List<EntityBeanOc_Company_Info>) request
			.getAttribute("list_company_info");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

		<title>显示友情链接</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link href="css/style.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
	<div class="tp" style="padding-top:20px">
		<div class="jsbox"  style="float:left; width:100%;overflow:hidden">
			

						<div class="els" style="float:left;padding-top:20px">

						 <h2><img src="images/home_37.jpg" alt="" /></h2>

							<div class="xpic">
								<ul>
									<%
										for (int l = 0; l < list_evaluate.size(); l++) {
									%>
									<li>
										<a  target="_blank" href="<%=request.getContextPath()%>/show_study_detail.do?method=show_study_detail&id=<%=list_evaluate.get(l).getId()%>">
										<img src="upload/<%=list_evaluate.get(l).getPath()%>" alt="" border="0" width="55px;" height="55px;"/> </a>
									</li>
									<%
										}
									%>
								</ul>
							</div>
							<div class="gd">
								<a target="_blank" href="<%=request.getContextPath()%>/show_study_list.do?method=show_study_list">更多....</a>
							</div>

						</div>
				


						<div class="els" style="float:left;padding-top:20px">

  <h2><img src="images/home_33.jpg" alt="" /></h2>
							<ul>
								<%
									for (int i = 0; i < list_friend_link.size(); i++) {
								%>
								<li>
									<a target="_blank"
										href="<%=list_friend_link.get(i).getFriend_link_url()%>"><%=list_friend_link.get(i).getFriend_link_name()%></a>
								</li>
								<%
									}
								%>
							</ul> </div>
					


						<div class="els" style="float:left;padding-top:20px"> 

 <h2><img src="images/home_41.jpg" alt="" /></h2>
							<%
								for (int k = 0; k < list_company_info.size(); k++) {
							%>
							<div class="cn">
								<%=list_company_info.get(k).getCompany_name()%><br />
								地址：<%=list_company_info.get(k).getAddress()%><br />
								电话：<%=list_company_info.get(k).getTel()%><br />
								Email: <%=list_company_info.get(k).getEmail()%>
								<br />
								<br />
							</div> <%
 	}
 %> </div>
					<div class="els" style="float:left;padding-top:20px">
      <h2><img src="images/home_43.jpg" alt="" /></h2>
      <div class="re"><img src="images/home_49.jpg" width="212" height="252" /></div></div>
		</div>
		</div>
	</body>
</html>